package org.lanqiao.tjut.bean;

import java.io.Serializable;
import java.util.Date;

public class StudentBean  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long stuId;
	private String stuName;
	private String stuSex;

	// @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date stuBirthday;
	// 查询使用：查询条件(不做数据库映射)
	private Date stuBirthday2;
	private String stuAddress;

	private String stuTel;

	private String stuImg;

	private Long stuDepartment;

	private Short isdeleted;

	public Date getStuBirthday2() {
		return stuBirthday2;
	}

	public void setStuBirthday2(Date stuBirthday2) {
		this.stuBirthday2 = stuBirthday2;
	}

	public String getStuAddress() {
		return stuAddress;
	}

	public void setStuAddress(String stuAddress) {
		this.stuAddress = stuAddress;
	}

	public String getStuTel() {
		return stuTel;
	}

	public void setStuTel(String stuTel) {
		this.stuTel = stuTel;
	}

	public Long getStuId() {
		return stuId;
	}

	public void setStuId(Long stuId) {
		this.stuId = stuId;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName == null ? null : stuName.trim();
	}

	public String getStuSex() {
		return stuSex;
	}

	public void setStuSex(String stuSex) {
		this.stuSex = stuSex == null ? null : stuSex.trim();
	}

	public Date getStuBirthday() {
		return stuBirthday;
	}

	public void setStuBirthday(Date stuBirthday) {
		this.stuBirthday = stuBirthday;
	}

	public String getStuImg() {
		return stuImg;
	}

	public void setStuImg(String stuImg) {
		this.stuImg = stuImg == null ? null : stuImg.trim();
	}

	public Long getStuDepartment() {
		return stuDepartment;
	}

	public void setStuDepartment(Long stuDepartment) {
		this.stuDepartment = stuDepartment;
	}

	public Short getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Short isdeleted) {
		this.isdeleted = isdeleted;
	}

	@Override
	public String toString() {
		return "TBStudentBean [stuId=" + stuId + ", stuName=" + stuName + ", stuSex=" + stuSex + ", stuBirthday="
				+ stuBirthday + ", stuAddress=" + stuAddress + ", stuTel=" + stuTel + ", stuImg=" + stuImg
				+ ", stuDepartment=" + stuDepartment + ", isdeleted=" + isdeleted + "]";
	}

}